<div :class="{ 'grid': true, 'show-paging-bar': isEnablePagingBar, 'hidden-paging-bar': !isEnablePagingBar }">
    <i-form>
        <el-table v-if="isDisplay === true"
            :default-sort="{ prop: minorSortPSDEF, order: Object.is(minorSortDir, 'ASC') ? 'ascending' : Object.is(minorSortDir, 'DESC') ? 'descending' : '' }"  
            @sort-change="onSortChange($event)"  
            :border="isDragendCol"
            :highlight-current-row ="isSingleSelect"
            :row-class-name="getRowClassName.bind(_self)"
            :cell-class-name="getCellClassName.bind(_self)"
            size="mini"
            stripe
            :height="tableHeight"
            @row-click="rowClick($event)"  
            @select-all="selectAll($event)"  
            @select="select($event)"  
            @row-class-name="onRowClassName($event)"  
            @row-dblclick="rowDBLClick($event)"  
            ref='multipleTable' :data="items" :show-header="!isHideHeader"
        >
            <template slot="empty">
                {{$t('entities.account_analytic_line.lineedit_grid.nodata')}} 
                <span class="quick-toolbar">
                </span>
            </template>
            <template v-if="!isSingleSelect">
                <el-table-column align="center" type='selection' :width="checkboxColWidth"></el-table-column>
            </template>
            <template v-if="getColumnState('account_id_text')">
                <el-table-column show-overflow-tooltip :prop="'account_id_text'" :label="$t('entities.account_analytic_line.lineedit_grid.columns.account_id_text')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.account_analytic_line.lineedit_grid.columns.account_id_text')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='account_id_text' editorType="PICKER" :value="row.account_id_text" dataType="PICKUPTEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('user_id_text')">
                <el-table-column show-overflow-tooltip :prop="'user_id_text'" :label="$t('entities.account_analytic_line.lineedit_grid.columns.user_id_text')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.account_analytic_line.lineedit_grid.columns.user_id_text')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='user_id_text' editorType="PICKER" :value="row.user_id_text" dataType="PICKUPTEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('amount')">
                <el-table-column show-overflow-tooltip :prop="'amount'" :label="$t('entities.account_analytic_line.lineedit_grid.columns.amount')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.account_analytic_line.lineedit_grid.columns.amount')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='amount' editorType="TEXTBOX" :value="row.amount" dataType="DECIMAL" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('company_id_text')">
                <el-table-column show-overflow-tooltip :prop="'company_id_text'" :label="$t('entities.account_analytic_line.lineedit_grid.columns.company_id_text')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.account_analytic_line.lineedit_grid.columns.company_id_text')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='company_id_text' editorType="PICKER" :value="row.company_id_text" dataType="PICKUPTEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('create_uid_text')">
                <el-table-column show-overflow-tooltip :prop="'create_uid_text'" :label="$t('entities.account_analytic_line.lineedit_grid.columns.create_uid_text')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.account_analytic_line.lineedit_grid.columns.create_uid_text')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='create_uid_text' editorType="PICKER" :value="row.create_uid_text" dataType="PICKUPTEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('create_date')">
                <el-table-column show-overflow-tooltip :prop="'create_date'" :label="$t('entities.account_analytic_line.lineedit_grid.columns.create_date')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.account_analytic_line.lineedit_grid.columns.create_date')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='create_date' editorType="DATEPICKER" :value="row.create_date" dataType="DATETIME" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('currency_id_text')">
                <el-table-column show-overflow-tooltip :prop="'currency_id_text'" :label="$t('entities.account_analytic_line.lineedit_grid.columns.currency_id_text')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.account_analytic_line.lineedit_grid.columns.currency_id_text')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='currency_id_text' editorType="PICKER" :value="row.currency_id_text" dataType="PICKUPTEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('general_account_id_text')">
                <el-table-column show-overflow-tooltip :prop="'general_account_id_text'" :label="$t('entities.account_analytic_line.lineedit_grid.columns.general_account_id_text')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.account_analytic_line.lineedit_grid.columns.general_account_id_text')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='general_account_id_text' editorType="PICKER" :value="row.general_account_id_text" dataType="PICKUPTEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('group_id_text')">
                <el-table-column show-overflow-tooltip :prop="'group_id_text'" :label="$t('entities.account_analytic_line.lineedit_grid.columns.group_id_text')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.account_analytic_line.lineedit_grid.columns.group_id_text')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='group_id_text' editorType="PICKER" :value="row.group_id_text" dataType="PICKUPTEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('move_id_text')">
                <el-table-column show-overflow-tooltip :prop="'move_id_text'" :label="$t('entities.account_analytic_line.lineedit_grid.columns.move_id_text')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.account_analytic_line.lineedit_grid.columns.move_id_text')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='move_id_text' editorType="PICKER" :value="row.move_id_text" dataType="PICKUPTEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('name')">
                <el-table-column show-overflow-tooltip :prop="'name'" :label="$t('entities.account_analytic_line.lineedit_grid.columns.name')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.account_analytic_line.lineedit_grid.columns.name')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='name' editorType="TEXTBOX" :value="row.name" dataType="TEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('partner_id_text')">
                <el-table-column show-overflow-tooltip :prop="'partner_id_text'" :label="$t('entities.account_analytic_line.lineedit_grid.columns.partner_id_text')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.account_analytic_line.lineedit_grid.columns.partner_id_text')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='partner_id_text' editorType="PICKER" :value="row.partner_id_text" dataType="PICKUPTEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('product_id_text')">
                <el-table-column show-overflow-tooltip :prop="'product_id_text'" :label="$t('entities.account_analytic_line.lineedit_grid.columns.product_id_text')" :width="150"  :align="'left'" :sortable="'custom'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.account_analytic_line.lineedit_grid.columns.product_id_text')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='product_id_text' editorType="PICKER" :value="row.product_id_text" dataType="PICKUPTEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="getColumnState('so_line_text')">
                <el-table-column show-overflow-tooltip :prop="'so_line_text'" :label="$t('entities.account_analytic_line.lineedit_grid.columns.so_line_text')" :width="150"  :align="'left'">
                    <template v-slot:header="{column}">
                      <span class="column-header ">
                        {{$t('entities.account_analytic_line.lineedit_grid.columns.so_line_text')}}
                      </span>
                    </template>
                    <template v-slot="{row,column,$index}">
                        <template >
            <app-span name='so_line_text' editorType="PICKER" :value="row.so_line_text" dataType="PICKUPTEXT" precision="0" ></app-span>
                        </template>
                    </template>
                </el-table-column>
            </template>
            <template v-if="adaptiveState">
                <el-table-column></el-table-column>
            </template>
        </el-table>
    </i-form>
</div>